from Models.School import *
from Models.Student import *
from Models.User import *
from Apscheduler import scheduler
from create_app import create_app,db


app = create_app()
scheduler.init_app(app)
scheduler.start()

if __name__ == '__main__':
    with app.test_request_context():
        db.create_all()
    app.run(host='0.0.0.0', port=9999, debug=True)

